package com.simple.datax.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.datax.bo.IDataxParseRawMsgBO;
import com.simple.datax.dao.IDataxParseRawMsgDAO;
import com.simple.datax.vo.DataxParseRawMsgVO;
import com.simple.util.object.PageInfoBean;

@Service("dataxParseRawMsgBO")
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
public class DataxParseRawMsgBOImpl implements IDataxParseRawMsgBO {
	
	@Autowired
	private IDataxParseRawMsgDAO dataxParseRawMsgDAO;
	@Override
	public DataxParseRawMsgVO findById(String FcRecvRawMsgId) {
		return dataxParseRawMsgDAO.findById(FcRecvRawMsgId);
	}

	@Override
	public List<DataxParseRawMsgVO> findAll() {
		
		return dataxParseRawMsgDAO.findAll();
	}

	@Override
	public List<DataxParseRawMsgVO> findDataxParseRawMsgVOByPage(
			PageInfoBean pageInfoBean, String fcRecvRawMsgId,
			String fcMessageId, String fcSenderId,
			String fcReceiverId,String fromDate,String toDate) {
		
		return dataxParseRawMsgDAO.findDataxParseRawMsgVOByPage(pageInfoBean, fcRecvRawMsgId, fcMessageId, fcSenderId, fcReceiverId,fromDate,toDate);

	}

}
